package csw;

import java.util.Scanner;

public class J24Professor {

	public static void main(String[] args) {
		J24ProfessorService ps = new J24ProfessorServiceImpl();
		Scanner sc = new Scanner(System.in);
		System.out.println("뭐야 왜 안돼");
		
		switch(sc.nextInt()){
		case 1:ps.newProfessor(); break;
		case 2:ps.readProfessor(); break;
		case 3:ps.readOneProfessor(); break;
		case 4:ps.modifyProfessor(); break;
		case 5:ps.removeProfessor(); break;
		case 0:System.exit(0); break;
		default: System.out.println("잘못선택하셧네여");
		
		}
		
	}

}
